/**
  ******************************************************************************
  * @file                main.c
  * @author              BruceOu
  * @rtt version         V4.0.3
  * @version             V1.0
  * @date                2021-04-06
  * @blog                https://blog.bruceou.cn/
  * @Official Accounts   嵌入式实验楼
  * @brief
  ******************************************************************************
  */
#include <rtthread.h>
#include "board.h"
#include "lcd.h"
#include "dfs_file.h"
#include "key_app.h"

//extern char *table[MAXNUM_OF_SONGS];

int main(void)
{
    LCD_Init();
//    LCD_DrawLine(10, 10, 400, 300);
//    LCD_ShowChar(5,5,BLACK, WHITE, '2',16,0);
//    LCD_ShowChar(125,125,BLACK, WHITE, 'H',32,0);
//    LCD_Fill(20,20,40,40,BROWN);
    LCD_ShowString(00,20,32,"<---MUSIC PLAYER--->",0);
//    LCD_ShowString(00,20,32,"----MUSIC PLAYER----",0);

    gui_circle(160, 130,RED,70,0);
    LCD_ShowChar(130,105,BLACK, WHITE, '~',32,0);
    LCD_ShowChar(180,105,BLACK, WHITE, '~',32,0);
    LCD_ShowString(145,120,32,"/\\",0);
    LCD_ShowString(145,160,32,"~~",0);

    rt_thread_mdelay(2000);
//    gui_circle(100, 80,RED,10,1);
//    gui_circle(120, 100,RED,10,0);

    while (1)
    {
        rt_thread_mdelay(10);
    }

    return 0;
}
